package com.woniu.demo.enums;

/**
 * created by woniu201
 * created in 2018/7/8
 */
public enum ResultEnum {
    SUCC(0, "成功"),
    AUTH_FAIL(1, "验证失败");

    private Integer code;
    private String  msg;

    ResultEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
